home *** CD-ROM | disk | FTP | other *** search
/ ASP Advantage 1993 / The Association of Shareware Professionals Advantage CD-ROM 1993.iso / files / gamether / tmatch10 / tilemakr.doc < prev    next >
Text File  |  1992-04-17  |  12KB  |  241 lines

  1.  
  2.                              Tile Maker Utility
  3.                     For use with Mah Jongg or Tile Match
  4.  
  5.                                 Nels Anderson
  6.                                92 Bishop Drive
  7.                           Framingham, MA 01701-6515
  8.                                     U.S.A.
  9.  
  10.  
  11.  
  12.        USING TILEMAKER:
  13.  
  14.           The Tile Maker utility allows you to make your own sets of
  15.           tiles or modify sets made by others.
  16.  
  17.           The utility is similar to many paint programs with which
  18.           you might be familiar, though because of its specialized
  19.           nature it includes less functions.  Tile Maker can be
  20.           controlled with your mouse or keyboard and requires EGA
  21.           or VGA graphics.
  22.  
  23.        How tiles are stored on disk:
  24.  
  25.           First, some basics about working with tile sets.  A Mah
  26.           Jongg tile set includes 42 different tiles.  Eight of them
  27.           are in the "wild card" suits (normally the flowers and
  28.           seasons suits) where any tile in the suit matches any
  29.           other.  The other 34 tiles use the standard matching rule
  30.           where there are four of each tile on the board and the
  31.           tiles must be matched exactly to be removed.  You'll want
  32.           to keep the game rules in mind when designing your tiles.
  33.  
  34.           All 42 tiles are stored in a single disk file.  You'll
  35.           need to know how the tiles are numbered so that you store
  36.           your new tiles in the proper place.  For reference, the
  37.           standard tile set (mahjongg.til) is numbered as follows:
  38.  
  39.                       Tiles 1 - 9:  suit of dots
  40.                           Tile 10:  white dragon
  41.                     Tiles 11 - 19:  suit of bamboo
  42.                           Tile 20:  green dragon
  43.                     Tiles 21 - 29:  suit of characters
  44.                           Tile 30:  red dragon
  45.                     Tiles 31 - 34:  suit of winds
  46.                     Tiles 35 - 38:  suit of seasons
  47.                     Tiles 39 - 42:  suit of flowers
  48.  
  49.        Getting Started:
  50.  
  51.           Start up tilemakr.exe by typing "tilemakr" on the command
  52.           line; there are no command line options.  Note the drawing
  53.           area on the left and the command area on the right.  If
  54.           you're using a mouse you can just point to a command and
  55.           click; if you're using the keyboard use the letter next to
  56.           the command.
  57.  
  58.           Most of the commands are self-explanatory.  Reading a tile
  59.           file will first show you all tiles in the file and then
  60.           allow you to select by number the tile you want.  When
  61.           saving a file you'll need to remember the numbered
  62.           position in the file that you want to save it to.  The
  63.           number of the last tile read in is displayed in the lower
  64.           right corner of the screen.
  65.  
  66.           After you've loaded a file once you can use the "re-read"
  67.           command to get a new tile without waiting for disk access.
  68.           You can also review the complete set of current tiles
  69.           using the "view last images" command.  The full tile set
  70.           is always kept in memory to let you access it.  This screen
  71.           is updated by the save command so the current tile set as
  72.           stored on disk is always accurately displayed.
  73.  
  74.        Drawing:
  75.  
  76.           Normal drawing can be done with the keyboard or mouse.
  77.           Using the mouse, select the desired color by pointing at
  78.           the color chart and clicking.  Then to draw just point at
  79.           the drawing area and click on each spot where you want to
  80.           draw.
  81.  
  82.           Because it's common to switch back and forth between two
  83.           colors, Tile Maker remembers the last color you've selected
  84.           as well as the current one.  Use the right mouse button at
  85.           any time to toggle back and forth between the current and
  86.           previous drawing color.
  87.  
  88.           If you're drawing with a mouse there are a few basic drawing
  89.           shapes available in addition to the simple dot.  Under the
  90.           drawing area is a set of push buttons where you can select
  91.           dots, line, circle, rectangle, filled circle or box.  Click
  92.           on the desired button and you'll see it push in to confirm
  93.           proper selection.
  94.  
  95.           When using the line or rectangles, move the mouse cursor to
  96.           one end (corner) and hold down the mouse button.  Then move
  97.           to the other end (corner) and release the button.  When using
  98.           the circles you start in the center and pull away until the
  99.           circle is the desired size.  You can pull in any direction
  100.           since the circle is symmetrical.
  101.  
  102.           The seventh (rightmost) drawing tool is a special one.  It
  103.           allows you to outline an area and then change all pixels
  104.           within that area that are a specific color into a
  105.           different color.  Select this tool and then outline a
  106.           rectangle just as you would with the rectangle drawing
  107.           tool.  When the area you want is outlined, release the
  108.           mouse button.  You'll be prompted to select the color you
  109.           want to change; point anywhere you want on the screen and
  110.           click when pointing to the desired color.  Then you'll be
  111.           prompted for the color you want to change to; again you
  112.           can point anywhere on the screen and click.  Now the
  113.           selected color will change.
  114.  
  115.           When within the drawing area, the mouse cursor snaps to
  116.           the center of each pixel when moving around or drawing
  117.           dots, lines or rectangles.  If you prefer that the cursor
  118.           move smoothly you can turn off the snap function by
  119.           clicking on the "snap Cursor on/off" command on the right
  120.           hand of the screen.  For most drawing you'll probably find
  121.           the snap cursor useful as you'll be able to more clearly
  122.           tell what pixel is being pointed to.
  123.  
  124.           Drawing with the keyboard requires typing the letter or
  125.           number of the desired color, then moving the cursor around
  126.           with the arrow keys and finally hitting space when you
  127.           want to draw a dot.
  128.  
  129.        Enhanced Undo Function:
  130.  
  131.           Because quite often you will do something that you wish
  132.           you hadn't, Tile Maker has an undo function.  Tile Maker
  133.           actually saves up to three previous versions of the tile
  134.           you're working on, and these appear directly below the
  135.           current normal sized tile in the box on the left side of
  136.           the screen.
  137.  
  138.           If you select the undo function by clicking on "Undo" or
  139.           hitting the U key you'll get the backup tile shown
  140.           immediately below the tile in the box.  If you're working
  141.           with a mouse you can select any of the three backup tiles
  142.           directly simply by clicking on the one you want.
  143.  
  144.        Additional Drawing Functions:
  145.  
  146.           The "fill" command works a bit differently from paint
  147.           programs, because it only fills up from the starting
  148.           point.  This is handy at times because you don't have to
  149.           close off the bottom of the area you're going to fill.  If
  150.           you have a very irregularly shaped area you may have to
  151.           use fill more than once to fill it all.  Note that fill
  152.           works from the position of the keyboard cursor, not from
  153.           where the mouse points.
  154.  
  155.           The "flip", "rotate" and "shift" functions all work with
  156.           only the face of the tile.  They also force a one pixel
  157.           border around the edge of the tile surface, so you'll want
  158.           to be careful not to shift things past this border (unless
  159.           that's what you want to do!).
  160.  
  161.           When you're done with your tile set, use the "N" (add Name)
  162.           function.  The name you enter will be displayed at the
  163.           bottom of the screen when playing Mah Jongg or in the Info
  164.           screen when playing Tile Match.
  165.  
  166.           The best thing to do is get the Tile Maker running and
  167.           experiment.  You'll find designing good tiles is quite a
  168.           challenge, but it will allow you to have your own
  169.           personalized version of the game when you're done.
  170.  
  171.           You might want to look at other already completed tile
  172.           sets to see some of the techniques used.  Because the
  173.           drawing area is so small you often have to trick the eye
  174.           to get the effect you want.  One thing to avoid is
  175.           changing the sloping sides of the tiles.  Generally this
  176.           will ruin the 3D effect and simply doesn't look good when
  177.           tiles are stacked up.
  178.  
  179.         Importing From PCX Pictures:
  180.  
  181.           Tile Maker has a limited ability to load tile faces from
  182.           PCX drawings, such as you might create with a full-
  183.           featured paint program or with a scanner.  The PCX
  184.           pictures must be in 640x350 pixel size and use a 16
  185.           color EGA palette.
  186.  
  187.           To import a PCX picture, click on "import PCX picture"
  188.           or hit the P key.  The normal file selection box will
  189.           pop and and you should select the PCX file you want.
  190.           The picture will load and a square cursor will appear.
  191.           Use the cursor to surround the portion of the picture
  192.           you want (the square is exactly the size of a tile face)
  193.           and click.  You'll be switched back to the editing
  194.           screen with the PCX image now on the tile face.
  195.  
  196.         Saving Your Tiles:
  197.  
  198.           Saving a tile seems to be a bit tricky for some people,
  199.           so let's go over it thoroughly.  When the first tile in
  200.           your new tile set is complete, use the "Save tile"
  201.           function (hit the S key or click on "Save tile").  A
  202.           file selection box will pop up, but since you're
  203.           creating a new tile set you should type in a file name
  204.           rather than selecting an existing one.  You can leave
  205.           off the ".til" portion of the name if you wish, so for
  206.           an example, FLAGS.TIL or FLAGS would both be valid and
  207.           refer to the same file.  Hit the 'Enter' key or click
  208.           on the OK box when ready.
  209.  
  210.           Now, you'll be prompted for a tile number within the set
  211.           (see the section above on how the tiles are numbered).
  212.           Since this is your first tile, you'll probably want to
  213.           enter 1 but any number between 1 and 42 is valid.  Once
  214.           you've selected a tile number and hit the 'Enter' key,
  215.           your first tile is saved!
  216.  
  217.           On subsequent tiles, the procedure is essentially the
  218.           same.  When the tile is done, select the "Save tile"
  219.           function again and the file selection box will pop up
  220.           again.  Since your tile set has already been started,
  221.           just click on it to select it this time.  When prompted
  222.           for a tile number, enter a number you haven't already
  223.           used, otherwise you'll wipe out one of your other tiles.
  224.           Just keep going until you have all 42 tiles created.
  225.           Don't forget at some point during your tile set creation
  226.           to use the "add Name to file" function" (click on it, or
  227.           use the "N" key) to add your name or a description to
  228.           the tile set.  The message you enter will be displayed
  229.           at the bottom of the screen when playing Mah Jongg or in
  230.           the Info screen when playing Tile Match.
  231.  
  232.  
  233.        Share Your Creations!
  234.  
  235.           If you develop any tile sets you'd like to share please
  236.           upload them to the support BBS (Xevious: 508-875-3618) or
  237.           mail them to the author on a diskette.  I'd suggest that
  238.           you include a text file describing your tile set and of
  239.           course you should include your name in it.  I'm looking
  240.           forward to seeing what you come up with!
  241.